<?php

namespace App\Http\Controllers;

use Laravel\Lumen\Routing\Controller as BaseController;

class Controller extends BaseController
{
    //
    function go($msg, $value = '')
    {
        $response = array(
            'code' => 1,
            'msg' => $msg,
            'result' => $value
        );
        return json_encode($response);
    }
}

